var configPro = {};
configPro.projectName = "b2b2c";
require.config({
    map: { //map告诉RequireJS在任何模块之前，都先载入这个css模块
        '*': {
            css: "/" + configPro.projectName + "/js/css.js",
        }
    },
    paths: {
        jquery: "/" + configPro.projectName + "/js/jquery-2.1.1",
        cookie: "/" + configPro.projectName + "/js/jquery.cookie",
        app: "/" + configPro.projectName + "/js/appactions",
        vue: "/" + configPro.projectName + "/js/vue",
        lay: ["/" + configPro.projectName + "/js/layui/layui"],
        wangEditor:["/" + configPro.projectName + "/js/wangEditor"],
        "jquery-ui":["/" + configPro.projectName + "/js/jquery-ui"],
        "base64":["/" + configPro.projectName + "/js/base64"],
        "getIP":"https://pv.sohu.com/cityjson?ie=utf-8",
        "theme":"/" + configPro.projectName + "/js/theme/index",
        "sa":"/" + configPro.projectName + "/js/sa",
        "jsPdf":"https://cdn.bootcdn.net/ajax/libs/jspdf/1.5.3/jspdf.debug",
        "cans":"https://cdn.bootcdn.net/ajax/libs/html2canvas/0.5.0-beta4/html2canvas"
    },
    shim: {
        lay: {
            deps: ["css!/" + configPro.projectName + "/js/layui/css/layui.css", "css!/" + configPro.projectName + "/css/font.css"],
        },
        vue: {
            exports: 'Vue'
        },
        wangEditor:{
            deps: ["css!/" + configPro.projectName + "/css/wangEditor.css"]
        },
        theme:{
            deps: ["css!/" + configPro.projectName + "/css/theme.css","css!/" + configPro.projectName + "/css/index.css"]
        },
        sa:{
            deps: ["css!/" + configPro.projectName + "/css/sa.css"]
        }
    }
});